package stars.JMEControls;

import stars.starSystems.StarSystemModel;

import com.jme3.renderer.RenderManager;
import com.jme3.renderer.ViewPort;
import com.jme3.scene.Spatial;
import com.jme3.scene.control.AbstractControl;
import com.jme3.scene.control.Control;

public class StarSystemViewControl extends AbstractControl {

	private StarSystemModel model;
	private String systemLayout;
	
	public StarSystemViewControl(Spatial spatial, StarSystemModel model) {
		this.spatial = spatial;
		spatial.addControl(this);
		
		this.model = model;
		this.systemLayout = model.getSystemLayout();
	}
	
	public Control cloneForSpatial(Spatial spatial) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected void controlUpdate(float tpf) {
		//Add code that regulates starSystem appearance--based on number of stars, colors, etc.
		//(Handle interface-based changes in a separate control??)
		
		
		
		
		
	}

	@Override
	protected void controlRender(RenderManager rm, ViewPort vp) {
		// TODO Auto-generated method stub
		
	}

}
